package cn.elves.model.activity.service;

import cn.elves.model.activity.entity.po.UserTakeActivityCount;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author pc
* @description 针对表【user_take_activity_count】的数据库操作Service
* @createDate 2024-06-17 00:09:05
*/
public interface UserTakeActivityCountService extends IService<UserTakeActivityCount> {

    UserTakeActivityCount selectActivityTakeCount(Long userId, Long activityId);

    UserTakeActivityCount createUserTakeActivityCount(Long userId, Long activityId);

    Boolean increaseLeftCount(UserTakeActivityCount userTakeActivityCount);

}
